package com.igeek.service;

import com.igeek.dao.DepDao;
import com.igeek.entity.Department;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class DepService {

    @Resource
    private DepDao depDao;

    public List<Department> findAll(){
        return depDao.findAll();
    }

}
